package com.example.midushop.mapper.category;

import com.example.midushop.entity.category.CategoryOne;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 一级分类信息映射接口
 * */
@Mapper
public interface CategoryOneMapper{
    /** 根据编号查询一级分类信息，若不传编号则查询所有数据*/
    List<CategoryOne> findCategoryOneAll(@Param("CategoryOne_name") long CategoryOne_id,@Param("CategoryOne_id") String CategoryOne_name);


}
